Skip to main content

XPDFViewer_CharacterCount

Type​

function

Summary​

Count the number of characters on a page.

Syntax​

XPDFViewer_CharacterCount(<viewerName>, <pageNumber>)

Description​

The following errors may be thrown by the command:

  • XPDF_ERROR: incorrect number of parameters
  • XPDF_ERROR: PDF viewer not found

Parameters​

NameTypeDescription

viewerName

string

The name of the viewer.

pageNumber

integer

The pageNumber to return the text of.

Examples​

put XPDFViewer_CharacterCount("Document1", 3) into theNumberOfChars

Value​

NameTypeDescription

return

The number of characters on the page.

Compatibility and Support​

Introduced

LiveCode 1.0.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?